export default {
  data () {
    return {
      list_c: [
        { label: '编号', prop: 'id' },
        { label: '发货编号', prop: 'deliveryNo' },
        { label: '合同编号', prop: 'contractNo' },
        { label: '客户名称', prop: 'customer.name' },
        { label: '送货方式', prop: 'deliveryMethod' },
        { label: '交货日期', prop: 'deliveryDate' },
        { label: '收货地址', prop: 'deliveryAddress' },
        { label: '联系人', prop: 'contact' },
        { label: '联系电话', prop: 'phone' },
        { label: '出库状态', prop: 'outboundStatus' },
        { label: '创建时间', prop: 'createTime' },
      ],
      list_q: {
        deliveryNo: null,
        contractNo: null,
        customerId: null,
        deliveryStartDate: null,
        deliveryEndDate: null,
        deliveryAttr: [],
        outboundStatus: '',
        createTime: [],
        createStartTime: null,
        createEndTime: null
      },
      list_q_c: [
        { form_item_prop: { label: '发货编号', prop: 'deliveryNo' }, component_name: 'el-input' },
        { form_item_prop: { label: '合同编号', prop: 'contractNo' }, component_name: 'el-input' },
        { form_item_prop: { label: '客户名称', prop: 'customerId' }, component_name: 'el-input', component_name: 'el-select', component_prop: { option_data: [], option_prop: { value: 'id', label: 'name' } } },
        { form_item_prop: { label: '交货日期', prop: 'deliveryAttr' }, component_name: 'el-date-picker', component_prop: { 'value-format': '	yyyy-MM-dd hh:mm:ss', type: 'datetimerange', 'range-separator': "至", 'start-placeholder': "开始日期", 'end-placeholder': "结束日期" } },
        { form_item_prop: { label: '出库状态', prop: 'outboundStatus' }, component_name: 'el-input', component_name: 'el-select', component_prop: { option_data: [{ value: '未出库' }, { value: '出库中' }, { value: '已出库' }], option_prop: { value: 'value', label: 'value' } } },
        { form_item_prop: { label: '创建时间', prop: 'createTime' }, component_name: 'el-date-picker', component_prop: { 'value-format': '	yyyy-MM-dd hh:mm:ss', type: 'datetimerange', 'range-separator': "至", 'start-placeholder': "开始日期", 'end-placeholder': "结束日期" } },
      ],
      list_e: {
        deliveryMethod: null,
        deliveryDate: null,
        deliveryAddress: null,
        contact: null,
        phone: null,
        remark: null,
        id: null
      },
      list_e_c: [
        { form_item_prop: { label: '送货方式', prop: 'deliveryMethod', required: true }, component_name: 'el-select', component_prop: { option_data: [{ value: '快递' }, { value: '物流' }], option_prop: { value: 'value', label: 'value' } } },
        { form_item_prop: { label: '交货日期', prop: 'deliveryDate', required: true }, component_name: 'el-date-picker', component_prop: { 'value-format': 'yyyy-MM-dd hh:mm:ss', type: 'datetime' } },
        { form_item_prop: { label: '收货地址', prop: 'deliveryAddress', required: true }, component_name: 'el-input', },
        { form_item_prop: { label: '联系人', prop: 'contact', required: true }, component_name: 'el-input', },
        { form_item_prop: { label: '联系电话', prop: 'phone', required: true }, component_name: 'el-input', },
        { form_item_prop: { label: '备注', prop: 'remark' }, component_name: 'el-input', component_prop: { type: 'textarea' } },
      ],
      pager: {
        page: 1,
        limit: 10,
        total: 0
      },
    }
  },
  methods: {
  },
}